//
//  ViewController.m
//  JJStatusBarExtension
//
//  Created by jxf on 16/2/22.
//  Copyright © 2016年 JJ.sevn. All rights reserved.
//

#import "ViewController.h"
#import "Text1ViewController.h"
#import "JJStatusBarExtension.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor blueColor];
    
//    JJStatusBarExtension *window1 = [JJStatusBarExtension shareStatusBarExtension];
//    JJStatusBarExtension *window2 = [JJStatusBarExtension shareStatusBarExtension];
//    JJStatusBarExtension *window3 = [[JJStatusBarExtension alloc] init];
//    NSLog(@"%p----%p----%p", window1, window2, window3);
}

- (BOOL)prefersStatusBarHidden
{
    return NO;
}

- (UIStatusBarStyle)preferredStatusBarStyle
{
    return UIStatusBarStyleLightContent;
}

//- (BOOL)jj_ignoreStatusBar
//{
//    return YES;
//}


- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    Text1ViewController *vc = [[Text1ViewController alloc] init];
    [self presentViewController:vc animated:YES completion:nil];
}

@end
